package com.tjetc.service.impl;

import com.tjetc.entity.UserMessage;
import com.tjetc.mapper.UserMessageMapper;
import com.tjetc.service.IUserMessageService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


@Service
public class UserMessageServiceImpl extends ServiceImpl<UserMessageMapper, UserMessage> implements IUserMessageService {

    @Resource
    private UserMessageMapper userMessageMapper;
    @Override
    public List<UserMessage> findByUid(Integer uid) {
        return userMessageMapper.findByUid(uid);
    }
}
